package com.evil.application.pojo.dto.form.control.code;

import com.evil.application.pojo.entity.ApplicationFormControl;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 行容器控件-表单控件实体
 *
 * @author liyang
 * @date 2022-08-08 00:00
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class RowContainerControlDTO extends ControlDTO {

    public static final String[] ignoreProperties = new String[]{};

    /**
     * 布局类型('default': 默认, 'flex': 动态)
     */
    private String layoutType;

    /**
     * 左右对齐类型(start:左对齐 end:右对齐 center:居中 space-between:两端对齐  space-around:环绕对齐)
     */
    private String justify;

    /**
     * 上下对齐类型(top:顶部  middle:居中  bottom:底部)
     */
    private String align;

    public RowContainerControlDTO(ApplicationFormControl applicationFormControl) {
        super(applicationFormControl, ignoreProperties);
    }
}
